<template>
    <div>
        <Form :label-width="80">
            <Row>
                <Alert type="success" show-icon>此页面可创建新的投票项目信息</Alert>
            </Row>
            <Row class="expand-row">
                <Col span="24">
                <FormItem label="活动标题：">
                    <Input placeholder="填写活动标题" v-model="activity.title" :value="activity.title"/>
                </FormItem>
                </Col>
            </Row>
            <Row>
                <Col span="24">
                <FormItem label="活动简介：">
                    <Input type="textarea" :rows="3" v-model="activity.brief" :value="activity.brief"/>
                </FormItem>
                </Col>
            </Row>
            <Row>
                <Col>
                    <i-switch size="large" v-model="activity.enable" >
                        <span slot="open">生效</span>
                        <span slot="close">失效</span>
                    </i-switch>
                </Col>
            </Row>
        </Form>
    </div>
</template>

<script>

    export default {
        data() {
            return {
            }
        },
        methods: {
        },
        mounted() {
        },
        props:['activity'],
    }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

</style>